<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
    "http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>

    <package  name="circle-bis" extends="default" namespace="/audi">
    	<global-results>
		 	<result name="audiResult">/audi/result.jsp</result>
		 </global-results>
        <!--CircleCategoryAction-START-->
        <action name="circleCategories" class="com.ogilvy.audi.webapp.action.CircleCategoryAction" method="list">
            <result>/WEB-INF/pages/circleCategoryList.jsp</result>
        </action>

        <action name="editCircleCategory" class="com.ogilvy.audi.webapp.action.CircleCategoryAction" method="edit">
            <result>/WEB-INF/pages/circleCategoryForm.jsp</result>
            <result name="error">/WEB-INF/pages/circleCategoryList.jsp</result>
        </action>

        <action name="saveCircleCategory" class="com.ogilvy.audi.webapp.action.CircleCategoryAction" method="save">
            <result name="input">/WEB-INF/pages/circleCategoryForm.jsp</result>
            <result name="cancel" type="redirectAction">circleCategories</result>
            <result name="delete" type="redirectAction">circleCategories</result>
            <result name="success" type="redirectAction">circleCategories</result>
        </action>
        <!--CircleCategoryAction-END-->

        <!--CircleBulletinAction-START-->
        <action name="circleBulletins" class="com.ogilvy.audi.webapp.action.CircleBulletinAction" method="list">
            <result>/WEB-INF/pages/circleBulletinList.jsp</result>
        </action>

        <action name="editCircleBulletin" class="com.ogilvy.audi.webapp.action.CircleBulletinAction" method="edit">
            <result>/WEB-INF/pages/circleBulletinForm.jsp</result>
            <result name="error">/WEB-INF/pages/circleBulletinList.jsp</result>
        </action>

        <action name="saveCircleBulletin" class="com.ogilvy.audi.webapp.action.CircleBulletinAction" method="save">
            <result name="input">/WEB-INF/pages/circleBulletinForm.jsp</result>
            <result name="cancel" type="redirectAction">circleBulletins</result>
            <result name="delete" type="redirectAction">circleBulletins</result>
            <result name="success" type="redirectAction">circleBulletins</result>
        </action>
        <!--CircleBulletinAction-END-->

        <!--CircleAlbumAction-START-->
        <action name="circleAlbums" class="com.ogilvy.audi.webapp.action.CircleAlbumAction" method="list">
            <result>/WEB-INF/pages/circleAlbumList.jsp</result>
        </action>

        <action name="editCircleAlbum" class="com.ogilvy.audi.webapp.action.CircleAlbumAction" method="edit">
            <result>/WEB-INF/pages/circleAlbumForm.jsp</result>
            <result name="error">/WEB-INF/pages/circleAlbumList.jsp</result>
        </action>

        <action name="saveCircleAlbum" class="com.ogilvy.audi.webapp.action.CircleAlbumAction" method="save">
            <result name="input">/WEB-INF/pages/circleAlbumForm.jsp</result>
            <result name="cancel" type="redirectAction">circleAlbums</result>
            <result name="delete" type="redirectAction">circleAlbums</result>
            <result name="success" type="redirectAction">circleAlbums</result>
        </action>
        <!--CircleAlbumAction-END-->

        <!--CircleTopicAction-START-->
        <action name="circleTopics" class="com.ogilvy.audi.webapp.action.CircleTopicAction" method="list">
            <result>/WEB-INF/pages/circleTopicList.jsp</result>
        </action>

        <action name="editCircleTopic" class="com.ogilvy.audi.webapp.action.CircleTopicAction" method="edit">
            <result>/WEB-INF/pages/circleTopicForm.jsp</result>
            <result name="error">/WEB-INF/pages/circleTopicList.jsp</result>
        </action>

        <action name="saveCircleTopic" class="com.ogilvy.audi.webapp.action.CircleTopicAction" method="save">
            <result name="input">/WEB-INF/pages/circleTopicForm.jsp</result>
            <result name="cancel" type="redirectAction">circleTopics</result>
            <result name="delete" type="redirectAction">circleTopics</result>
            <result name="success" type="redirectAction">circleTopics</result>
        </action>
        <!--CircleTopicAction-END-->

        <!--CircleAcmntAction-START-->
        <action name="circleAcmnts" class="com.ogilvy.audi.webapp.action.CircleAcmntAction" method="list">
            <result>/WEB-INF/pages/circleAcmntList.jsp</result>
        </action>

        <action name="editCircleAcmnt" class="com.ogilvy.audi.webapp.action.CircleAcmntAction" method="edit">
            <result>/WEB-INF/pages/circleAcmntForm.jsp</result>
            <result name="error">/WEB-INF/pages/circleAcmntList.jsp</result>
        </action>

        <action name="saveCircleAcmnt" class="com.ogilvy.audi.webapp.action.CircleAcmntAction" method="save">
            <result name="input">/WEB-INF/pages/circleAcmntForm.jsp</result>
            <result name="cancel" type="redirectAction">circleAcmnts</result>
            <result name="delete" type="redirectAction">circleAcmnts</result>
            <result name="success" type="redirectAction">circleAcmnts</result>
        </action>
        <!--CircleAcmntAction-END-->

        <!--CircleTcmntAction-START-->
        <action name="circleTcmnts" class="com.ogilvy.audi.webapp.action.CircleTcmntAction" method="list">
            <result>/WEB-INF/pages/circleTcmntList.jsp</result>
        </action>

        <action name="editCircleTcmnt" class="com.ogilvy.audi.webapp.action.CircleTcmntAction" method="edit">
            <result>/WEB-INF/pages/circleTcmntForm.jsp</result>
            <result name="error">/WEB-INF/pages/circleTcmntList.jsp</result>
        </action>

        <action name="saveCircleTcmnt" class="com.ogilvy.audi.webapp.action.CircleTcmntAction" method="save">
            <result name="input">/WEB-INF/pages/circleTcmntForm.jsp</result>
            <result name="cancel" type="redirectAction">circleTcmnts</result>
            <result name="delete" type="redirectAction">circleTcmnts</result>
            <result name="success" type="redirectAction">circleTcmnts</result>
        </action>
        <!--CircleTcmntAction-END-->

        <!--CircleUserAction-START-->
        <action name="user_commmon" >
            <result>/WEB-INF/pages/user/register_1.jsp</result>
        </action>
        
        <action name="circleUsers" class="com.ogilvy.audi.webapp.action.CircleUserAction" method="list">
            <result>/WEB-INF/pages/circleUserList.jsp</result>
        </action>

        <action name="editCircleUser" class="com.ogilvy.audi.webapp.action.CircleUserAction" method="edit">
            <result>/WEB-INF/pages/circleUserForm.jsp</result>
            <result name="error">/WEB-INF/pages/circleUserList.jsp</result>
        </action>

        <action name="saveCircleUser" class="com.ogilvy.audi.webapp.action.CircleUserAction" method="save">
            <result name="input">/WEB-INF/pages/circleUserForm.jsp</result>
            <result name="cancel" type="redirectAction">circleUsers</result>
            <result name="delete" type="redirectAction">circleUsers</result>
            <result name="success" type="redirectAction">circleUsers</result>
        </action>
        
        <!--CircleUserAction-END-->
       

        <!--CircleUserExtAction-START-->
        <action name="circleUserExts" class="com.ogilvy.audi.webapp.action.CircleUserExtAction" method="list">
            <result>/WEB-INF/pages/circleUserExtList.jsp</result>
        </action>

        <action name="editCircleUserExt" class="com.ogilvy.audi.webapp.action.CircleUserExtAction" method="edit">
            <result>/WEB-INF/pages/circleUserExtForm.jsp</result>
            <result name="error">/WEB-INF/pages/circleUserExtList.jsp</result>
        </action>

        <action name="saveCircleUserExt" class="com.ogilvy.audi.webapp.action.CircleUserExtAction" method="save">
            <result name="input">/WEB-INF/pages/circleUserExtForm.jsp</result>
            <result name="cancel" type="redirectAction">circleUserExts</result>
            <result name="delete" type="redirectAction">circleUserExts</result>
            <result name="success" type="redirectAction">circleUserExts</result>
        </action>
        <!--CircleUserExtAction-END-->
        <!--继承原来的struts配置-->
        
		 
	 	<!-- 圈子 -->
    	<action name="circle_query" class="com.ogilvy.audi.webapp.action.CircleCategoryAction" method="query">
        	<result name="result">/audi/result.jsp</result>        	
        </action>
        <action name="circle_queryMainCircles" class="com.ogilvy.audi.webapp.action.CircleCategoryAction" method="queryMainCircles">
        	<result name="cindex">/audi/circle/cindex.jsp</result>        	
        </action>
        <action name="circle_queryHotCircles" class="com.ogilvy.audi.webapp.action.CircleCategoryAction" method="queryHotCircles">
        	<result name="result">/audi/result.jsp</result>        	
        </action>
        <action name="circle_queryChildCircles" class="com.ogilvy.audi.webapp.action.CircleCategoryAction" method="queryChildCircles">
        	<result name="childList">/audi/circle/childlist.jsp</result>        	
        </action>
        <action name="circle_queryDetailCircles" class="com.ogilvy.audi.webapp.action.CircleCategoryAction" method="queryDetailCircles">
        	<result name="detail">/audi/circle/detail.jsp</result>        	
        </action>
        <!-- 话题 -->
         <action name="topic_list" class="com.ogilvy.audi.webapp.action.CircleTopicAction" method="list">
        	<result name="list">/audi/topic/list.jsp</result>        	
        </action>
        <action name="topic_detail" class="com.ogilvy.audi.webapp.action.CircleTopicAction" method="detail">
        	<result name="detail">/audi/topic/detail.jsp</result>        	
        </action>
        <action name="topic_show" class="com.ogilvy.audi.webapp.action.CircleTopicAction" method="show">
        	<result name="send">/audi/topic/send.jsp</result>        	
        </action>
        <action name="topic_add" class="com.ogilvy.audi.webapp.action.CircleTopicAction" method="add">
        	       	
        </action>
        <!-- 公告 -->
         <action name="bulletin_list" class="com.ogilvy.audi.webapp.action.CircleBulletinAction" method="list">
        	<result name="list">/audi/bulletin/list.jsp</result>        	
        </action>
        <!-- 相册 -->
         <action name="album_list" class="auti.action.AlbumAction.CircleAlbumAction" method="list">
        	<result name="list">/audi/album/list.jsp</result>        	
        </action>
        <action name="album_detail" class="auti.action.AlbumAction.CircleAlbumAction" method="detail">
        	<result name="list">/audi/album/detail.jsp</result>        	
        </action>
        <action name="album_showUpload" class="auti.action.AlbumAction.CircleAlbumAction" method="showUpLoad">
        	<result name="upload">/audi/album/uploadimg.jsp</result>        	
        </action>
         <action name="album_uploadImg" class="auti.action.AlbumAction.CircleAlbumAction" method="upLoadImg">
        	       	
        </action>
         <!-- 圈子成员 -->
         <action name="member_list" class="auti.action.MemberAction" method="list">
        	<result name="list">/audi/member/list.jsp</result>        	
        </action>
    </package>
    </struts>